import {
	http
} from "../utils/request";

const baseUrl = "http://rke.xjznpt.cn/Api/MobileApi";
const lockApi = {
	searchEquipment(data) {
		return http({
			url: `${baseUrl}/SearchEquipment`,
			method: "post",
			data
		})
	},
	unlock(data) {
		return http({
			url: `${baseUrl}/HouseUnlock`,
			method: "post",
			contentType: "application/x-www-form-urlencoded",
			data
		})
	},
}

export default lockApi;